<%@ page session="true" language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String usuario = "";
	HttpSession sesionOk = request.getSession();
	if (sesionOk.getAttribute("usuario") == null) {
	%>
<jsp:forward page="login.jsp">
<jsp:param name="error" value="Es
obligatorio identificarse"/>
</jsp:forward>
<%
} else {
usuario = (String)sesionOk.getAttribute("usuario");
}
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<p><br>
  <b>Usuario activo:</b> <%=usuario%>
</p>
<p>  
  <table width="142" border="0">
  <tr>
    <td width="23">&nbsp;</td>
    <td width="65"><img src="img/map/bt-up-48x48.png" width="48" height="48"></td>
    <td width="40">&nbsp;</td>
  </tr>
  <tr>
    <td><img src="img/map/bt-left-48x48.png" width="48" height="48"></td>
    <td>&nbsp;</td>
    <td><img src="img/map/bt-right-48x48.png" width="48" height="48"></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><img src="img/map/bt-down-48x48.png" width="48" height="48"></td>
    <td>&nbsp;</td>
  </tr>
</table>
<p>&nbsp; </p>
<p><a href="cerrarsesion.jsp">Cerrar sesi&oacute;n</a>
</body>
</html>